﻿<%@ Page Language="C#" MasterPageFile="~/MasterPages/MasterPage1.master" AutoEventWireup="true" CodeFile="KHTT_XemThongTinGioHang.aspx.cs" Inherits="ChucNang_KhachHangThanThiet_KHTT_XemThongTinGioHang" Title="Untitled Page" %>

<%@ Register src="../../UserControls/PageInterface.ascx" tagname="PageInterface" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <center>
    <h2>Giỏ Hàng Của Bạn</h2> 
        
    <asp:DataList ID="DataList_DanhSachSanPham" runat="server" 
        RepeatColumns="1" RepeatDirection="Horizontal" CellPadding="5" CellSpacing="5" onitemcreated="DataList_DanhSachSanPham_ItemCreated" 
           >
        <EditItemStyle BorderColor="Red" BorderStyle="Dotted" BorderWidth="1px" />
        <ItemStyle BorderColor="Red" BorderStyle="Dotted" BorderWidth="1px" />
        <ItemTemplate>
            <table>            
                <tr>
                <td rowspan="4">
                        <asp:HyperLink ID="HyperLink_PicLink" runat="server" NavigateUrl="" >
                            <asp:Image ID="Image_hinhSP"  Height="80" Width="80" runat="server" ImageUrl="" />
                        </asp:HyperLink>
                </td>   
            
             
                    <td>
                        <table width="200"><b>Thông tin sản phẩm</b>
                            <tr>
                                <td>Tên: <asp:Label ID="lblTen" runat="server" Text="Label"></asp:Label> </td>
                            </tr>
                             <tr>
                                <td>  
                                 Giá:<asp:Label ID="lblGia" runat="server" Text="Label"></asp:Label> VNĐ</td>
                            </tr>
                        </table>
                    </td>
            
           
                    <td>
                        <table width="200"><b>Thông tin mua hàng</b>
                            <tr>
                                <td>Số Lượng:</td><td><asp:TextBox ID="txtSoLuong" Text='<%# Eval("SoLuong")%>' runat="server" ></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td colspan="2">Thành tiền:<asp:Label ID="lblThanhTien" runat="server" Text=""></asp:Label> VND</td>
                            </tr>
                            <tr>
                                <td>
                                <asp:Label ID="lblId" runat="server" Text='<%# Eval("Id_SP")%>' Visible="False"></asp:Label></td>
                                <td>
                                <asp:Label ID="lblSoLuong" runat="server" Text=""></asp:Label></td>
                                </tr>
                        </table>
                    </td>
                    <td>
                        <table width="200"><b>Thông tin Khuyến mãi</b>
                           <tr><td>
                               <asp:Label ID="lblKhuyenMai" runat="server" Text="Label"></asp:Label></td></tr>
                        </table>
                    </td>
                 </tr>        
            </table>
        </ItemTemplate>
       
    </asp:DataList>
    <center>Tổng Tiền: 
                <asp:Label ID="lblTong" runat="server" Text="Label" BackColor="#99FF66"></asp:Label> VND</center>
    <table><tr>
    <td><asp:Button ID="btnCapNhat" runat="server" Text="Cập Nhật" 
            onclick="btnCapNhat_Click" /></td>
    <td><asp:Button ID="btnThanhToan" runat="server" Text="Thanh Toán" 
            onclick="btnThanhToan_Click" /></td>
    <td>
        <asp:Button ID="btnTiepTuc" runat="server" Text="Tiếp Tục" 
            onclick="btnTiepTuc_Click" /></td>
    </tr>
        </table>
     </center>
</asp:Content>

